.layui-input-avatar {
    display: inline-block;
    text-align: center;


    .layui-input-avatar-view {
        display: block;
        width: 80px;
        height: 80px;
        cursor: pointer;
        border: 1px solid #eee;
        margin: 0px auto 5px auto;
    }

    &.edit::after {
        content: "点击切换头像";
        font-size: 12px;
        color: #666;
    }

    &.edit .layui-input-avatar-value {
        display: none;
    }
}